ABC138 B - Resistors in Parallel
https://atcoder.jp/contests/abc138/tasks/abc138_b
code: python
n = int(input())
a = list(map(int, input().split()))
tmp = 0
for i in a:
tmp += 1 / i
print(1 / tmp)